<?php
class Silk_Dao_User extends FP_Dao_User
{

    public function setTableDefinition()
    {
	parent::setTableDefinition();
        $this->setTableName('silk_user');
    }

    public function setUp()
    {
	$this->actAs('Timestampable');
        $this->hasOne('Silk_Dao_Role as Role', array('local' => 'role_id', 'foreign' => 'role_id'));
        $this->hasMany('Silk_Dao_Permission as Permissions', array('refClass' => 'Silk_Dao_UserPermission', 'local' => 'user_id', 'foreign' => 'permission_id'));
    }


}

 ?>